/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package accountmanager.dao.ifc;

import accountmanager.dao.Conta;
import accountmanager.dao.Cliente;
import java.util.ArrayList;

/**
 *
 * @author Afonso
 */
public interface ContaDAO {

    public Conta buscaContaNumero(int numero);

    public ArrayList<Conta> buscaTodasContas();

    public ArrayList<Conta> buscaTodasContasCliente(long cpf);

    public boolean cadastraConta(int numero, double saldo, Cliente cliente);

    public boolean depositar(int numero, double quantia);

    public boolean debitar(int numero, double quantia);

}
